<?php

namespace App\Http\Requests\Api\Ucenter\User;

use App\Http\Requests\BaseRequest;

/**
 *
 * @authors generator
 * @date    2020-11-09 15:18:57
 */
class SetJypwdRequest extends BaseRequest
{
    /**
     * 返回参数验证规则.
     *
     * @return array
     */
    protected function rule(): array
    {
        return [
            // 交易密码
            'password' => ['rule' => 'required'],
            // 重复密码
            'password_repeat' => ['rule' => 'required'],
            // 验证码
            'code' => ['rule' => 'required'],
        ];

    }
}
